package com.tj.collection.controller.admin.response;

import com.fqgj.common.api.ResponseData;
import com.fqgj.common.utils.CollectionUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/15
 * Time: 上午11:14
 */
public class RoleOperationIdsResponse implements ResponseData {

    private List<String> list = new ArrayList<>();

    public RoleOperationIdsResponse(List<Long> roleIds) {
        if (CollectionUtils.isEmpty(roleIds)) {
            return;
        }

        for (Long id : roleIds) {
            list.add("a" + id);
        }
    }
}
